class Solution:
    def entityParser(self, text: str) -> str:
        text = text.replace("&quot;", "\"")
        text = text.replace("&apos;", "'")
        text = text.replace("&gt;", ">")
        text = text.replace("&lt;", "<")
        text = text.replace("&frasl;", "/")
        text = text.replace("&amp;", "&")
        return text